package com.example.analysis.entity;

import java.io.Serializable;

/**
 * quest
 * @author 
 */
public class Quest implements Serializable {
    private String questId;

    private String questEvaluate;

    private String questType;

    private static final long serialVersionUID = 1L;

    public String getQuestId() {
        return questId;
    }

    public void setQuestId(String questId) {
        this.questId = questId;
    }

    public String getQuestEvaluate() {
        return questEvaluate;
    }

    public void setQuestEvaluate(String questEvaluate) {
        this.questEvaluate = questEvaluate;
    }

    public String getQuestType() {
        return questType;
    }

    public void setQuestType(String questType) {
        this.questType = questType;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Quest other = (Quest) that;
        return (this.getQuestId() == null ? other.getQuestId() == null : this.getQuestId().equals(other.getQuestId()))
            && (this.getQuestEvaluate() == null ? other.getQuestEvaluate() == null : this.getQuestEvaluate().equals(other.getQuestEvaluate()))
            && (this.getQuestType() == null ? other.getQuestType() == null : this.getQuestType().equals(other.getQuestType()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getQuestId() == null) ? 0 : getQuestId().hashCode());
        result = prime * result + ((getQuestEvaluate() == null) ? 0 : getQuestEvaluate().hashCode());
        result = prime * result + ((getQuestType() == null) ? 0 : getQuestType().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", questId=").append(questId);
        sb.append(", questEvaluate=").append(questEvaluate);
        sb.append(", questType=").append(questType);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}